:root {
    --primary-blue: #2c56b3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Exo 2;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Exo 2;
}

.color-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #198754);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(44, 86, 179, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1a3d80;
    transform: translateY(-3px);
}

/* Navbar Effects */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-blue);
}

}
/* Section Animations */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Image Zoom */
.img-zoom-container {
    overflow: hidden;
    border-radius: 10px;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.08);
}

/* Slider */
.slider-image {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Dropdown */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    font-weight: 600;
    color: #444;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

/* Cards */
.about-wide-card {
    background: white;
    border-radius: 20px;
    min-height: 250px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

/* Brand Separator */
.brand-separator {
    width: 100px;
    height: 5px;
    background-color: var(--primary-blue);
    border-radius: 10px;
    display: block;
}

/* Text */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.5rem;
}

.italic-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
    padding-left: 15px;
}

/* Mission Cards */
.wide-mission-card {
    max-width: 100%;
    min-height: 400px;
}

@media (min-width: 768px) {
    .border-start-custom {
        border-left: 5px solid var(--primary-blue);
        padding-left: 40px;
    }
    .border-white {
        border-left-color: white !important;
    }
}

/* Campus Images */
.campus-img {
    height: 550px;
    object-fit: cover;
}

/* Location Cards */
.location-card {
    transition: 0.3s;
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .text-justify {
        text-align: left;
    }
    .campus-img {
        height: 300px;
    }
    .brand-separator {
        margin: 20px auto;
    }
    .order-md-1 { order: 2 !important; }
    .order-md-2 { order: 1 !important; }
}

/* Logo Placeholder */
.logo-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}
/* ===== SIMPLE SLIDER STYLES ===== */
#home {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.slider-image {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slider-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Hide all elements initially */
.slider-content h6,
.slider-content h1,
.slider-content p,
.slider-content .btn {
    opacity: 0;
}

/* Animation for subtitle */
.slide-subtitle {
    animation: slideDown 0.8s ease forwards;
}

/* Animation for heading (typing effect) */
.slide-heading {
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    border-right: 3px solid #0dcaf0;
    animation: typing 3s steps(60) forwards, blink 1s infinite;
}

/* Animation for paragraph */
.slide-paragraph {
    animation: fadeInUp 1s ease forwards;
}

/* Animation for button */
.slide-button {
    animation: popIn 0.8s ease forwards;
}

/* Animation Keyframes */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0; opacity: 1; }
    to { width: 100%; opacity: 1; }
}

@keyframes blink {
    0%, 100% { border-right-color: #0dcaf0; }
    50% { border-right-color: transparent; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Remove cursor after typing completes */
.heading-typing-complete {
    border-right: none !important;
    animation: none !important;
}

/* Progress Bar (1 minute timer) */
.slide-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #0dcaf0;
    width: 0%;
    z-index: 10;
    transition: width 120s linear;
}

/* Responsive */
@media (max-width: 768px) {
    #home {
        height: 80vh;
    }
    
    .slider-image {
        height: 80vh;
    }
    
    .slider-content h1 {
        font-size: 2.5rem !important;
        white-space: normal;
    }
}
/* Add these styles to your CSS */

/* Ensure smooth transitions */
.slider-content h6,
.slider-content h1,
.slider-content p,
.slider-content .btn {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Fix for Bootstrap carousel resetting */
.carousel-item.active .slider-content h6,
.carousel-item.active .slider-content h1,
.carousel-item.active .slider-content p,
.carousel-item.active .slider-content .btn {
    opacity: 1 !important;
}

/* Ensure animations work on all slides */
.carousel-item .slide-subtitle,
.carousel-item .slide-heading,
.carousel-item .slide-paragraph,
.carousel-item .slide-button {
    opacity: 1 !important;
}

/* Reset animations when slide is not active */
.carousel-item:not(.active) .slider-content h6,
.carousel-item:not(.active) .slider-content h1,
.carousel-item:not(.active) .slider-content p,
.carousel-item:not(.active) .slider-content .btn {
    opacity: 0 !important;
    animation: none !important;
}
/* ===== SLIDER IMAGE EFFECTS ===== */

/* ZOOM IN EFFECT */
.zoom-in .slider-image {
    animation: zoomInEffect 15s ease-in-out infinite alternate;
}

@keyframes zoomInEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* ZOOM OUT EFFECT */
.zoom-out .slider-image {
    animation: zoomOutEffect 15s ease-in-out infinite alternate;
}

@keyframes zoomOutEffect {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* SLOW ZOOM EFFECT */
.slow-zoom .slider-image {
    animation: slowZoom 20s ease-in-out infinite;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* FADE IN EFFECT */
.fade-in .slider-image {
    animation: fadeInEffect 8s ease-in-out;
}

@keyframes fadeInEffect {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* FADE OUT EFFECT */
.fade-out .slider-image {
    animation: fadeOutEffect 8s ease-in-out infinite alternate;
}

@keyframes fadeOutEffect {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* PAN LEFT EFFECT */
.pan-left .slider-image {
    animation: panLeftEffect 20s ease-in-out infinite alternate;
}

@keyframes panLeftEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: left center;
    }
}

/* PAN RIGHT EFFECT */
.pan-right .slider-image {
    animation: panRightEffect 20s ease-in-out infinite alternate;
}

@keyframes panRightEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: right center;
    }
}

/* PAN UP EFFECT */
.pan-up .slider-image {
    animation: panUpEffect 20s ease-in-out infinite alternate;
}

@keyframes panUpEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: center top;
    }
}

/* PAN DOWN EFFECT */
.pan-down .slider-image {
    animation: panDownEffect 20s ease-in-out infinite alternate;
}

@keyframes panDownEffect {
    0% {
        background-position: center;
    }
    100% {
        background-position: center bottom;
    }
}

/* BLUR EFFECT */
.blur-effect .slider-image {
    animation: blurEffect 10s ease-in-out infinite alternate;
}

@keyframes blurEffect {
    0% {
        filter: blur(0px);
    }
    100% {
        filter: blur(3px);
    }
}

/* BRIGHTNESS EFFECT */
.brightness-effect .slider-image {
    animation: brightnessEffect 10s ease-in-out infinite alternate;
}

@keyframes brightnessEffect {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.3);
    }
}

/* CONTRAST EFFECT */
.contrast-effect .slider-image {
    animation: contrastEffect 10s ease-in-out infinite alternate;
}

@keyframes contrastEffect {
    0% {
        filter: contrast(1);
    }
    100% {
        filter: contrast(1.3);
    }
}

/* GRAYSCALE EFFECT */
.grayscale-effect .slider-image {
    animation: grayscaleEffect 10s ease-in-out infinite alternate;
}

@keyframes grayscaleEffect {
    0% {
        filter: grayscale(0);
    }
    100% {
        filter: grayscale(1);
    }
}

/* SEPIA EFFECT */
.sepia-effect .slider-image {
    animation: sepiaEffect 10s ease-in-out infinite alternate;
}

@keyframes sepiaEffect {
    0% {
        filter: sepia(0);
    }
    100% {
        filter: sepia(0.7);
    }
}

/* GLOW EFFECT */
.glow-effect .slider-image {
    animation: glowEffect 8s ease-in-out infinite alternate;
}

@keyframes glowEffect {
    0% {
        box-shadow: inset 0 0 0px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.2);
    }
}

/* SHAKE EFFECT */
.shake-effect .slider-image {
    animation: shakeEffect 20s ease-in-out infinite;
}

@keyframes shakeEffect {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* WAVE EFFECT */
.wave-effect .slider-image {
    animation: waveEffect 15s ease-in-out infinite alternate;
}

@keyframes waveEffect {
    0% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(1.05);
    }
}

/* SLIDE FROM LEFT EFFECT */
.slide-left .slider-image {
    animation: slideFromLeft 1s ease-out;
}

@keyframes slideFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* SLIDE FROM RIGHT EFFECT */
.slide-right .slider-image {
    animation: slideFromRight 1s ease-out;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ROTATE EFFECT */
.rotate-effect .slider-image {
    animation: rotateEffect 30s linear infinite;
}

@keyframes rotateEffect {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* FLIP EFFECT */
.flip-effect .slider-image {
    animation: flipEffect 10s ease-in-out infinite alternate;
}

@keyframes flipEffect {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    100% {
        transform: perspective(1000px) rotateY(10deg);
    }
}

/* PULSE EFFECT */
.pulse-effect .slider-image {
    animation: pulseEffect 4s ease-in-out infinite;
}

@keyframes pulseEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Ensure images cover properly */
.slider-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, filter, opacity; /* Performance optimization */
}

/* Overlay for better text readability */
.slider-overlay {
    background: rgba(0, 0, 0, 0.5);
}
/* Add to your CSS file */
.effect-settings-btn {
    transition: all 0.3s ease !important;
}

.effect-settings-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(44, 86, 179, 0.7) !important;
}

/* If not using Font Awesome, use a text icon */
.effect-settings-btn:not(.fa)::before {
    content: "⚙";
    font-size: 1.5rem;
}
/* Add to your CSS file */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-2px);
    color: #0dcaf0 !important; /* Or your preferred hover color */
}

/* Specific style for the developer link */
a[href*="https://www.sharplite.com/"]:hover {
    text-decoration: underline !important;
}






































/* Popup Notification CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* High z-index to appear above everything */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Box - Centered with horizontal margin */
.popup {
    background-color: white;
    width: 50%;
    max-width: 600px;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s ease;
    margin: 50px auto; /* This centers horizontally with top/bottom margin */
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(to right, #1a3a8f, #2d5cc2);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: scale(1.2);
}

.popup-content {
    padding: 2rem;
    text-align: center;
}

.welcome-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #e8f0ff;
    margin: 0 auto 1.5rem;
    display: block;
}

.welcome-text {
    font-size: 2rem;
    color: #1a3a8f;
    margin-bottom: 1rem;
    font-weight: 700;
}

.notification {
    background-color: #f0f7ff;
    border-left: 4px solid #2d5cc2;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.notification h3 {
    color: #1a3a8f;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.notification h3 i {
    color: #ffcc00;
}

.notification p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #333;
}

.contact-icon {
    color: #1a3a8f;
    font-size: 1.2rem;
}

.popup-footer {
    padding: 1rem 2rem;
    background-color: #f8faff;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Optional: Button to trigger popup */
.show-popup-btn {
    background: linear-gradient(to right, #1a3a8f, #2d5cc2);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.show-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 58, 143, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup {
        width: 90%;
        margin: 20px auto;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .popup {
        width: 95%;
        margin: 10px auto;
    }
    
    .popup-content {
        padding: 1.5rem;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
}